﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    /// <summary>
    /// 用户基础信息实体类  继承自Model_Base 
    /// </summary>
    [Table("PersonInfo")]
    public class Model_Base_PersonInfo : Model_Base
    {
        /// <summary>
        /// 用户基础信息实体类编号
        /// </summary>
        [Key]
        [Column("ID")]
        [Required]
        public string ID { get; set; }

        /// <summary>
        /// 职位编号
        /// </summary>
        public string PositionID { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        public string PersonName { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 登陆次数
        /// </summary>
        public int? LoginCount { get; set; }
        /// <summary>
        /// 上次登陆时间
        /// </summary>
        public DateTime? LastLoginTime { get; set; }
        /// <summary>
        /// 个人头像地址
        /// </summary>
        public string PersonIconAddress { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int? Age { get; set; }
        /// <summary>
        /// 固定电话
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string MobilePhone { get; set; }
        /// <summary>
        /// 所属国家 国家编号
        /// </summary>
        public string CountryID { get; set; }
        /// <summary>
        /// 所在省份
        /// </summary>
        public string ProvinceID { get; set; }
        /// <summary>
        /// 城市编号  所属城市
        /// </summary>
        public string CityID { get; set; }
        /// <summary>
        /// 街道地址
        /// </summary>
        public string StreetAddress { get; set; }
        /// <summary>
        /// 绑定手机
        /// </summary>
        public string BindMobilePhone { get; set; }
        /// <summary>
        /// 性别编号
        /// </summary>
        public string SexID { get; set; }
        /// <summary>
        /// 微信号
        /// </summary>
        public string WeiXin { get; set; }
        /// <summary>
        /// QQ号
        /// </summary>
        public string QQ { get; set; }
      
    }
}
